New Functions in Week 9

rm

{base}

Remove objects

recode

{dplyr}

Recode a variable

names

{base}

Retrieve names of a list/vector

confint

{stats}

Calculate confidence Intervals for Model Parameters

droplevels

{base}

Drop Unused Levels from Factors

prop.table

{base}

Transform frequency table into table of proportions

ylab

{GGPLOT2}

Label the y axis (ggplot)

log

{base}

log (default base = e)

ls

{base}

Return a vector of character strings giving the names of the objects in the specified environment

xlab

{GGPLOT2}

Label the x axis (ggplot)

is.element

{base}

Check if a value is element of a vector

levels

{base}

Get levels of a factor

relevel

{stats}

Reorder Levels of Factor

subset

{base}

Return subsets of vectors, matrices or data frames which meet conditions.

read.csv

{utils}

Read a csv file to data frame. Specify stringsAsFactors = FALSE to keep all string columns as characters

The end!